AccessibilityDomain

class AccessibilityDomain : Domain

AccessibilityDomain represents Accessibility protocol domain request/response operations and events that can be captured.

This API is marked as experimental in protocol definition and can change in the future.

Functions

description
Link copied to clipboard
fun description(): String
Returns domain description.
disable
Link copied to clipboard
fun disable(): Single<RequestResponseFrame>
Disables the accessibility domain.
enable
Link copied to clipboard
fun enable(): Single<RequestResponseFrame>
Enables the accessibility domain which causes AXNodeIds to remain consistent between method calls.
events
Link copied to clipboard
fun events(): Flowable<Event>
Returns flowable capturing all domains events.
fun events(filter: Predicate<Event>): Flowable<Event>
Returns flowable capturing all domains events matching predicate.
fun <T : Event> events(eventClass: Class<T>): Flowable<T>
Returns flowable capturing all domain events of a given type.
fun <T : Event> events(eventClass: Class<T>, filter: Predicate<T>): Flowable<T>
Returns flowable capturing all domain events of a given type matching predicate.
getChildAXNodes
Link copied to clipboard
fun getChildAXNodes(input: GetChildAXNodesRequest): Single<GetChildAXNodesResponse>
Fetches a particular accessibility node by AXNodeId.
getDependencies
Link copied to clipboard
open override fun getDependencies(): List<Domain>
Returns list of dependant domains that should be enabled prior to enabling this domain.
getFullAXTree
Link copied to clipboard
fun getFullAXTree(input: GetFullAXTreeRequest): Single<GetFullAXTreeResponse>
Fetches the entire accessibility tree for the root Document
getPartialAXTree
Link copied to clipboard
fun getPartialAXTree(input: GetPartialAXTreeRequest): Single<GetPartialAXTreeResponse>
Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.
name
Link copied to clipboard
fun name(): String
Returns domain name.
queryAXTree
Link copied to clipboard
fun queryAXTree(input: QueryAXTreeRequest): Single<QueryAXTreeResponse>
Query a DOM node's accessibility subtree for accessible name and role.

Sources

jvm source
Link copied to clipboard